<template>
  <div>
    <div>
      <router-link to="/ui_routers">UI_Router</router-link>&nbsp;&nbsp;
      <router-link to="/contacts">Contacts</router-link>&nbsp;&nbsp;
      <router-link to="/about">About</router-link>&nbsp;&nbsp;
    </div>
    <hr />
    <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {};
</script>


<style scoped>
/* 精确匹配 路径一个都不能差*/
.router-link-exact-active {
  color: red;
}
.router-link-active {
  color: red;
}
</style>